$spacing--3xs: 4px;
$spacing--2xs: 6px;
$spacing--xs: 8px;
$spacing--sm: 12px;
$spacing: 16px;
$spacing--md: 20px;
$spacing--lg: 24px;
$spacing--xl: 28px;
$spacing--2xl: 32px;
$spacing--3xl: 36px;

.u-pointer {
  user-select: none;
  cursor: pointer;
}
.u-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-flex {
  display: flex;

  &.wrap {
    flex-wrap: wrap;
  }

  &__auto {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
  }

  &__fill {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
  }

  &__self {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 0;
  }

  &__none {
    flex: none;
  }
}

.l-flex--row {
  display: flex;
  align-items: center;

  &.center {
    justify-content: center;
  }

  &.right {
    justify-content: flex-end;
  }

  &.inline {
    display: inline-flex;
  }

  &.stretch {
    align-items: stretch;
  }
}

.l-flex--col {
  display: flex;
  flex-direction: column;

  &.center {
    align-items: center;
  }

  &.jcenter {
    justify-content: center;
  }
}
.u-auto {
  overflow: auto;
}
.h-100 {
  height: 100%;
}
.u-bold {
  font-weight: bold;
}

.c-tableScollBar {
  overflow-y: auto;
  &::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 4px;
  }

  &::-webkit-scrollbar-track-piece {
    background: rgba(200, 200, 200, 0.1);
  }

  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 8px;
    background: rgba(200, 200, 200, 0.5);
  }
}
.c-stop {
  cursor: not-allowed !important;
}

.c-sibling-item {
  & + & {
    margin-left: $spacing--sm !important;
  }

  & + &.nearest {
    margin-left: $spacing--3xs !important;
  }

  & + &.nearer {
    margin-left: $spacing--2xs !important;
  }

  & + &.near {
    margin-left: $spacing--xs !important;
  }

  & + &.far {
    margin-left: $spacing !important;
  }

  & + &.farther {
    margin-left: $spacing--lg !important;
  }

  & + &.farthest {
    margin-left: $spacing--2xl !important;
  }

  &--v {
    & + & {
      margin-top: $spacing--sm !important;
    }

    & + &.nearest {
      margin-top: $spacing--3xs !important;
    }

    & + &.nearer {
      margin-top: $spacing--2xs !important;
    }

    & + &.near {
      margin-top: $spacing--xs !important;
    }

    & + &.far {
      margin-top: $spacing !important;
    }

    & + &.farther {
      margin-top: $spacing--lg !important;
    }

    & + &.farthest {
      margin-top: $spacing--2xl !important;
    }
  }
}
.c-drawer {
  padding: 20px;
  .el-drawer__body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .el-table {
    height: 100% !important;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .table-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .table {
    flex: 1;
    min-height: 0;
  }
  .el-table__body-wrapper {
    // height: auto !important;
  }
}
